<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
  <div>
      <h3>管理员列表</h3>
      <form name="frm">
        <table>
              <thead>
                    <tr>
                       <th>管理员编号</th>
                       <th>管理员名称</th>
                       <th>删除</th>
                    </tr>
              </thead>
              <tbody>
                    <c:forEach items="${sessionScope.list }" var="admin">
                    <tr>
                       <td align="center">${admin.adminid }</td>
                       <td align="center">${admin.adminname }</td>
                       <td align="center"><a href="${pageContext.request.contextPath}delete?admin.adminid=${admin.adminid }">删除</a></td>
                    </tr>
                    </c:forEach>
              </tbody>
        </table>
      </form>
   </div>
</body>
</html>